﻿angular.module('picShare').controller('registerController', function ($scope, registerSvc) {

    $scope.registerUser = function () {
        var userName = $scope.regUsername;
        var password = $scope.regPassword;
        var confirmPassword = $scope.confirmPassword;

        registerSvc.registerUser(userName, password);
    };

});